package com.yonyou.crm.sys.quartz.quartztask;

import java.io.File;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;

import com.yonyou.iuap.dispatch.ITask;

@SuppressWarnings("serial")
public class TestAccount implements ITask{
	private StringBuffer logger = new StringBuffer();
	@Override
	public void execute(Map<String, Object> paramMap) {
		PrintWriter pw = null;
	    try {
	      File file = new File("c:\\TestAccount.txt");
	      pw = new PrintWriter(file);
	      logger.append("-------------------》集群测试 TestAccount()quzrtz可以了哈某有问题了" + (new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()) )+"/td");
	      pw.println(logger.toString());
	    } catch (Exception e) {
	      e.printStackTrace();
	    }
	    pw.close();
	  }
}
